package javaBean;

public class role {
    private  Integer id;
    private  String rolename;
    private  String roleDesc;

    public role() {
    }

    public role(Integer id, String rolename, String roleDesc) {
        this.id = id;
        this.rolename = rolename;
        this.roleDesc = roleDesc;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return rolename
     */
    public String getRolename() {
        return rolename;
    }

    /**
     * 设置
     * @param rolename
     */
    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    /**
     * 获取
     * @return roleDesc
     */
    public String getRoleDesc() {
        return roleDesc;
    }

    /**
     * 设置
     * @param roleDesc
     */
    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc;
    }

    public String toString() {
        return "role{id = " + id + ", rolename = " + rolename + ", roleDesc = " + roleDesc + "}";
    }
}
